<%@ page language="java" contentType="text/html; charset=utf-8"
		 pageEncoding="utf-8"%>
<%@ include file="../common/header.jsp" %>
<!DOCTYPE html>
<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
		<m:require src="jquery,noty,ev,font,bootstrap,common,kt,{{xlink/edit_device}}"></m:require>
		<title>编辑设备</title>
	</head>
	<body>
		<div id="top">
			<div id="logo"><span>Xlink</span></div>
			<div id="userInfo">
				<ul>
					<li><div id="head"></div><a href="#"><%=session.getAttribute("userName")%></a></li>
					<li><a href="#">我的消息</a></li>
					<li><a href="index.html">返回首页</a></li>
					<li><a href="#" id="loginOut">退出</a></li>
				</ul>
			</div>
		</div>
		<div id="first">
			<ul>
				<li><a href="#">管理首页</a></li>
				<li><a href="#">我的终端</a></li>
				<li><a href="mydevice.html">设备开发</a></li>
				<li><a href="#">产品开发</a></li>
				<li><a href="account.html">账户</a></li>
			</ul>
		</div>
		<div id="second">
			<div id="left">
				<ul>
					<li><a href="add_device.html">创建新设备</a></li>
					<li><a href="mydevice.html">我的设备</a></li>
					<li><a href="#">设备动作</a></li>
				</ul>
			</div>
			<div id="right">
				<h2>编辑设备</h2>
				<hr/>
				<form id="deviceForm">
					<span>设备名</span>
					<input type="text" id="title" validate="validate[maxsize(30)]" placeholder="设备名称，限30个字符">
					<span>标签&nbsp;(tags)</span>
					<input text="text" id="tags" placeholder="按下回车或者Tab键输入">
					<span>描述</span>
					<textarea id="about" placeholder="描述一下你的设备"></textarea>
					<span>地理位置名称</span>
					<input type="text" id="local" placeholder="请输入地理位置">
					<span>放置场地</span>
					<select id="site_flag">
						<option value ="0" selected="">室内</option>
						<option value ="1">室外</option>
					</select>
					<input type="button" value="保存" id="submit">
				</form>
			</div>
		</div>
		<div id="bottom"></div>
	</body>
</html>

